<top></top>
<section class="detail">
    <div class="detail-pic swiper-container">
        <ul class="swiper-wrapper">
            <li ng-repeat="img in teamImgs track by $index" class="swiper-slide" style="background-image: url({{img | resetImgBig}})"></li>
        </ul>
        <div class="swiper-pagination"></div>
    </div>
    <ul class="donated-data">
        <li>项目筹款总额：<span class="highlight">{{detailInfo.projectMoney}}</span> 元</li>
        <li>项目捐款总人次：{{detailInfo.amount}} 次 <a ui-sref="projectDonatedList({ id: teamId })">点击查看明细</a></li>
    </ul>
    <div class="intro">
        <a ui-sref="projectDonatedList({ id: teamId })">
            <dl>
                <dt class="highlight">{{detailInfo.name}}</dt>
                <dd>{{detailInfo.projectName}}</dd>
                <dd class="captain"><i class="icon-captain"></i>队长:{{detailInfo.leaderName}}</dd>
            </dl>
        </a>
    </div>
    <article>
        <p>{{detailInfo.projectInfo}}</p>
    </article>
    <h2>我要捐款</h2>
    <select name="area" ng-model="userArea" ng-change="areaChange()" ng-options="item.area as item.areaName for item in areaList">
        <option value="">--请选择您所在分区--</option>
    </select>
    <select name="team" ng-model="userTeam" ng-change="teamChange()" ng-options="item.id as item.name for item in teamList" ng-show="!noName">
        <option value="">--请选择您的服务队--</option>
    </select>
    <select name="user" ng-model="userId" ng-change="userChange()" ng-options="item.id as item.name for item in userList" ng-show="!noName">
        <option value="">--请选择您的姓名--</option>
    </select>
    <input type="text" ng-model="userName" class="ipt-username" placeholder="您的姓名" ng-show="noName">
    <div class="amount">
        <label>捐款金额</label>
        <span class="ipt-box">
            <i class="iconfont icon-minus" ng-click="amountMinus()"></i>
            <input type="text" name="amount" ng-model="amount" readonly>
            <i class="iconfont icon-plus" ng-click="amountPlus()"></i>
        </span>
    </div>
    <div class="form-group mobile">
        <label>我的电话</label>
        <input type="text" ng-model="mobile" class="ipt-username">
    </div>
    <div class="form-group manifesto">
        <label>我的宣言</label>
        <textarea type="text" ng-model="manifesto" class="ipt-username" ng-disabled="manifestoDefault"></textarea>
    </div>
    <div class="form-group error" ng-show="error">
        {{error}}
    </div>
    <div class="btn-box">
        <a ng-click="donate()">立即捐款</a>
        <span>本次募款采用《志趣基金会》通道，以确保资金募集的合理合法</span>
    </div>
</section>
<bottom></bottom>